package com.laamella.syntherface.synths.gui;

import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JLabel;

@SuppressWarnings("serial") public class VerticalLabel extends JLabel {

	@Override public void paintComponent(Graphics g) {
		Graphics2D g2d = (Graphics2D) g;
//		g2d.translate(10.0, 50.0);
		g2d.rotate(3.14/2);
		g2d.drawString(getText(), 0, 0);
	}
}